import pytest

from testproj.baseutil import FileRead
from testproj.baseutil.BaseRequest import BaseRequest


@pytest.fixture(scope='session')
def url():
    return FileRead.read_ini(r"data_env/env.ini", "url")


@pytest.fixture(scope='session')
def baseRequests():
    return BaseRequest()


@pytest.fixture(scope='session')
def db():
    return eval(FileRead.read_ini("data_env/env.ini", "db"))

